package com.open.capacity.service;

import com.github.pagehelper.PageInfo;
import com.open.capacity.model.BusinessData;
import com.open.capacity.model.PageModel;

import java.util.List;

public interface BusinessDataService {
    void add(BusinessData businessData);

    void delete(Long id);

    void update(BusinessData businessData);

    BusinessData findById(Long id);

    PageInfo<BusinessData> findPage(PageModel pageModel);

    void updatePassword(String passwd,Long busiid);

    void updateHead(BusinessData businessData);
}
